<template>
 <div>
    <deerDefault ref="sub">
      <div slot="formHead" class="flexLeft flex1">
        <div class="datum">申报材料</div>
        <div class="datumItem flex1">
          <div>节目来源</div>
          <div>录制日期</div>
          <div>录制设备及型号</div>
          <div style="border-bottom: 0;">附件</div>
        </div>
      </div>
      <div slot="formMain" class="formMain">
        <div class="flexLeft flex1 borB formItem">
          第（ <input v-model="proGoldDeerPlay2.jllyDjt" type="text" /> ）套 或（ <input v-model="proGoldDeerPlay2.jllyDjpd" type="text" /> ）频道
        </div>
        <div class="flexLeft flex1 borB formItem">
          <div class="flexLeft flex1">
            <a-input oninput="if(value.length>4) value=value.slice(0,4)" v-model="proGoldDeerPlay2.lzrqn" type="text" style="width: 60px" />
            年
            <a-input oninput="if(value.length>2) value=value.slice(0,2)" v-model="proGoldDeerPlay2.lzrqy" type="text" style="width: 60px" />
            月
            <a-input oninput="if(value.length>2) value=value.slice(0,2)" v-model="proGoldDeerPlay2.lzrqr" type="text" style="width: 60px" />
            日
          </div>
          <div class="flexLeft flex1">
            <div class="awardName borL borR">录制起止时间</div>
            <div class="flexLeft flex1">
              <a-input oninput="if(value.length>2) value=value.slice(0,2)"  v-model="proGoldDeerPlay2.qzsjs1" type="text" style="width: 60px" />
              时
              <a-input oninput="if(value.length>2) value=value.slice(0,2)"  v-model="proGoldDeerPlay2.qzsjf1" type="text" style="width: 60px" />
              分至
              <a-input oninput="if(value.length>2) value=value.slice(0,2)"  v-model="proGoldDeerPlay2.qzsjs2" type="text" style="width: 60px" />
              时
              <a-input oninput="if(value.length>2) value=value.slice(0,2)" v-model="proGoldDeerPlay2.qzsjf2" type="text" style="width: 60px" />
              分
            </div>
          </div>
        </div>
        <div class="flexLeft flex1 borB formItem">
          <input  v-model="proGoldDeerPlay2.sbxh" type="text" class="flex1" />
        </div>
        <div class="flexLeft flex1  formItem">
          <div>1.广播节目时间表</div>
          <div>2.广播节目播出串联单</div>
        </div>
      </div>
    </deerDefault>
    <div style="margin-top:30px">
      <a-alert message="请注意:填写完申请后打印并盖章在附件列表上传" type="warning" />
    </div>
  </div>
</template>

<script>
import defaultForm from "@/components/form/formDefaultItem.vue";
import { defaultFormData } from "@/assets/js/deer.js";
import deerDefault from "@/components/deerAward/deerDefaultto.vue";
export default {
  components: {
    deerDefault
  },
  computed: {

  },
  data() {
    return {
      defaultFormData,
      proGoldDeerPlay: {
        orgName: "",
        num: "",
        cpdwName: "",
        postal: "",
        address: "",
        callName: "",
        fax: "",
        zywcr: "",
        phone: "",
        tel: "",
         jllyDjt:"",
        jllyDjpd:"",
        lzrqn:"",
        lzrqy:"",
        lzrqr:"",
        qzsjs1:"",
        qzsjf1:"",
        qzsjs2:"",
        qzsjf2:"",
        sbxh:""
      },
      proGoldDeerPlay2:{
        jllyDjt:"",
        jllyDjpd:"",
        lzrqn:"",
        lzrqy:"",
        lzrqr:"",
        qzsjs1:"",
        qzsjf1:"",
        qzsjs2:"",
        qzsjf2:"",
        sbxh:""
      }
    };
  },
  mounted() {
  },
  methods: {
    gain(){
        let chil = this.$refs.sub;
        this.proGoldDeerPlay={
          ...chil.proGoldDeerPlay
        }
        chil.proGoldDeerPlay = this.proGoldDeerPlay2

        Object.assign(this.proGoldDeerPlay,this.proGoldDeerPlay2)
       
    },
    empty() {
      let chil = this.$refs.sub;
      chil.proGoldDeerPlay = {}
      this.proGoldDeerPlay2 = {};
    },
  },
};
</script>

<style lang="scss" scoped>
@import url("../../../assets/sass/components/form.scss");
.unit {
  border-left: 1px solid #b8babd;
  margin-left: -1px;
  padding-left: 20px;
  box-sizing: border-box;
}
.ant-input{
  border: 0px;
}
</style>